﻿<div id="popup_level_select" data-toggle="popup" data-type="SelectLevel" data-title="选择级别" data-size="large">
    <div id="popup_level_select_filter" class="popup-content" data-toggle="form" data-field="Level" data-detailable="true" data-filterable="true" data-grid="#popup_level_select_grid">
        <div class="popup-body">
            <div class="form-content">
                <div class="form-body">
                    <div class="row">
                        <input data-field="name" data-size="4,0,12" data-logic="or" data-operator="contains" />
                        <button data-button="query">查询</button>
                        <button data-button="clear">清除条件</button>
                    </div>
                    <div id="popup_level_select_grid" data-toggle="grid" node="grid" data-related="#popup_level_select">
                        <div node="columns" node-type="array">
                            <span data-field="name" data-title="级别名称"></span>
                            <span data-field="alias" data-title="昵称/别名"></span>
                            <span data-field="type" data-title="级别类型" data-data-from="cache.authorizeType"></span>
                            <span data-field="value" data-title="级别"></span>
                            <span data-field="description" data-title="备注说明"></span>
                            <span data-field="state" data-title="状态" data-data-from="cache.dataState"></span>
                            <span data-field="createdOn" data-title="创建时间" data-type="datetime"></span>
                        </div>
                        <span node="dataSource" data-auto-query="false">
                            <span node="transport">
                                <span node="read" data-url="/odata/Levels?$select=id,name,alias,type,value,description,state,createdOn">
                                </span>
                            </span>
                            <span node="sort" data-field="type,value" data-dir="asc"></span>
                        </span>
                    </div>
                </div>
            </div>
        </div>
        <div class="popup-footer text-right">
            <button data-button="ok"></button>
            <button data-button="close"></button>
        </div>
    </div>
</div>